package com.stylefeng.guns.modular.pic.service.impl;

import com.stylefeng.guns.modular.pic.model.Pic;
import com.stylefeng.guns.modular.pic.dao.PicMapper;
import com.stylefeng.guns.modular.pic.service.IPicService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yyi
 * @since 2018-09-28
 */
@Service
public class PicServiceImpl extends ServiceImpl<PicMapper, Pic> implements IPicService {

    @Override
    public List getPicByTypeNum(int type, int num) {
        return this.baseMapper.getPicByTypeNum(type,num);
    }
}
